package com.sxbang.bms.aopdemo;

public class CarServiceImpl implements CarService{
    @Override
    public void runCar(String carName) {
        if (carName == null || "".equals(carName)){
            throw new RuntimeException("carName is null...");
        }
        System.out.println("Run " + carName);
    }
}
